home *** CD-ROM | disk | FTP | other *** search
/ Teach Yourself Web Publis…4 Days (Premier Edition) / Teach Yourself Web Publishing With HTML in 14 Days Premier Edition (SAMS.NET)(1995).ISO / mac / ISO9660 / NETUTIL / WSTIM101 / DSPLIST.H < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-01  |  820 b   |  35 lines  |  [TEXT/mdos]

  1. // Contents ---------------------------------------------------------------
  2. //
  3. //   dsplist.h -- Include fild for display list module
  4. //
  5. //   Version 1.0, Windows Socket Finger Daemon
  6. //
  7. //   Copyright (C) Frederick W. Bent 1994
  8. //   All rights reserved.
  9. //
  10. //
  11. // Ends -------------------------------------------------------------------
  12.  
  13. #ifndef _DSPLIST_H_
  14. #define _DSPLIST_H_
  15. #include <windows.h>
  16.  
  17. typedef struct line_item
  18. {
  19.    HLOCAL     hText;
  20.    int         len;
  21.    HLOCAL    next;
  22. } LINEITEM;
  23.  
  24. VOID PushChars(char *buf, int buflen);
  25. BOOL OpenDisplayList(VOID);
  26. VOID CloseDisplayList(VOID);
  27. VOID RemoveFirstDisplayLine(VOID);
  28.  
  29. VOID FreeLineList(HLOCAL hLine);
  30. VOID FreeDisplayList(VOID);
  31. VOID GetDisplayList(HLOCAL *ppLine, int *pNLines);
  32. HGLOBAL CopyDisplayList(VOID);
  33.  
  34. #endif    // _DSPLIST_H_
  35.